/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for cmsPartnerTypeBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class cmsPartnerTypeBL 
    {
    	#region Private Variables
		cmsPartnerTypeDAL objcmsPartnerTypeDAL;
		#endregion
		
        #region Public Constructors
        public cmsPartnerTypeBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objcmsPartnerTypeDAL=new cmsPartnerTypeDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(cmsPartnerTypeDO objcmsPartnerTypeDO)
        {
            return objcmsPartnerTypeDAL.Insert(objcmsPartnerTypeDO);
        }

        public int Update(cmsPartnerTypeDO objcmsPartnerTypeDO)
        {
             return objcmsPartnerTypeDAL.Update(objcmsPartnerTypeDO);

        }

        public int Delete(cmsPartnerTypeDO objcmsPartnerTypeDO)
        {
             return objcmsPartnerTypeDAL.Delete(objcmsPartnerTypeDO);

        }

         public int DeleteAll()
        {
             return objcmsPartnerTypeDAL.DeleteAll();
        }

        public cmsPartnerTypeDO Select(cmsPartnerTypeDO objcmsPartnerTypeDO)
        {
            return objcmsPartnerTypeDAL.Select(objcmsPartnerTypeDO);
        }

        public ArrayList SelectAll1( )
        {
         return objcmsPartnerTypeDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objcmsPartnerTypeDAL.SelectAll();
        }
        public DataTable SelectByCondition(int top, int parentId, int partnerTypeId)
        {
            return objcmsPartnerTypeDAL.SelectByCondition(top, parentId, partnerTypeId);
        }

     
#endregion          
    
    }

}
